package com.share.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.device.domain.Cabinet;

import java.util.List;
import java.util.Map;

public interface ICabinetService extends IService<Cabinet> {
    /**
     * 查询充电宝柜机列表
     */
    public List<Cabinet> selectCabinetList(Cabinet cabinet);


    /**
     * 搜索未使用柜机
     * @param keyword
     * @return
     */
    List<Cabinet> searchNoUseList(String keyword);

    /**
     * 获取充电宝柜机全部详细信息
     * @param id
     * @return
     */
    Map<String, Object> getAllInfo(Long id);

    Cabinet getBtCabinetNo(String cabinetNo);

}
